/**
 * There are <a href="https://github.com/thinkgem/jeesite">JeeSite</a> code generation
 */
package com.chlitina.store.modules.expert.dao;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Component;

import com.chlitina.store.common.persistence.BaseDao;
import com.chlitina.store.common.persistence.BaseDaoImpl;
import com.chlitina.store.modules.expert.entity.CustomerExamParameters;

/**
 * 客户体检参数DAO接口
 * @author lvbo
 * @version 2013-06-04
 */
public interface CustomerExamParametersDao extends CustomerExamParametersDaoCustom, CrudRepository<CustomerExamParameters, Long> {

	@Query("from CustomerExamParameters where SCE_ID=?1")
	public List<CustomerExamParameters> getByExamID(long id);
	
}

/**
 * DAO自定义接口
 * @author lvbo
 */
interface CustomerExamParametersDaoCustom extends BaseDao<CustomerExamParameters> {

}

/**
 * DAO自定义接口实现
 * @author lvbo
 */
@Component
class CustomerExamParametersDaoImpl extends BaseDaoImpl<CustomerExamParameters> implements CustomerExamParametersDaoCustom {

}
